package com.leyou.user.api;

import com.leyou.user.pojo.User;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * *
 * Created by IntelliJ IDEA.
 * Author: caoLei
 * Date: 2018/11/5
 * Time: 20:53
 * *
 */

public interface UserApi {

    @PostMapping("query")
    public User queryUser(@RequestParam("username") String username, @RequestParam("password") String password);
}
